﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000411 RID: 1041
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EDKKPDOJAFL : IMessage<EDKKPDOJAFL>, IMessage, IEquatable<EDKKPDOJAFL>, IDeepCloneable<EDKKPDOJAFL>, IBufferMessage
	{
		// Token: 0x17000D5C RID: 3420
		// (get) Token: 0x06002EA3 RID: 11939 RVA: 0x00080BD1 File Offset: 0x0007EDD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EDKKPDOJAFL> Parser
		{
			get
			{
				return EDKKPDOJAFL._parser;
			}
		}

		// Token: 0x17000D5D RID: 3421
		// (get) Token: 0x06002EA4 RID: 11940 RVA: 0x00080BD8 File Offset: 0x0007EDD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EDKKPDOJAFLReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000D5E RID: 3422
		// (get) Token: 0x06002EA5 RID: 11941 RVA: 0x00080BEA File Offset: 0x0007EDEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EDKKPDOJAFL.Descriptor;
			}
		}

		// Token: 0x06002EA6 RID: 11942 RVA: 0x00080BF1 File Offset: 0x0007EDF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EDKKPDOJAFL()
		{
		}

		// Token: 0x06002EA7 RID: 11943 RVA: 0x00080BFC File Offset: 0x0007EDFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EDKKPDOJAFL(EDKKPDOJAFL other) : this()
		{
			this.iFAJDNNCHMN_ = ((other.iFAJDNNCHMN_ != null) ? other.iFAJDNNCHMN_.Clone() : null);
			this.oEIHAMOLDEC_ = other.oEIHAMOLDEC_;
			this.gachaRandom_ = other.gachaRandom_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002EA8 RID: 11944 RVA: 0x00080C54 File Offset: 0x0007EE54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EDKKPDOJAFL Clone()
		{
			return new EDKKPDOJAFL(this);
		}

		// Token: 0x17000D5F RID: 3423
		// (get) Token: 0x06002EA9 RID: 11945 RVA: 0x00080C5C File Offset: 0x0007EE5C
		// (set) Token: 0x06002EAA RID: 11946 RVA: 0x00080C64 File Offset: 0x0007EE64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJGHBHAIGMG IFAJDNNCHMN
		{
			get
			{
				return this.iFAJDNNCHMN_;
			}
			set
			{
				this.iFAJDNNCHMN_ = value;
			}
		}

		// Token: 0x17000D60 RID: 3424
		// (get) Token: 0x06002EAB RID: 11947 RVA: 0x00080C6D File Offset: 0x0007EE6D
		// (set) Token: 0x06002EAC RID: 11948 RVA: 0x00080C75 File Offset: 0x0007EE75
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OEIHAMOLDEC
		{
			get
			{
				return this.oEIHAMOLDEC_;
			}
			set
			{
				this.oEIHAMOLDEC_ = value;
			}
		}

		// Token: 0x17000D61 RID: 3425
		// (get) Token: 0x06002EAD RID: 11949 RVA: 0x00080C7E File Offset: 0x0007EE7E
		// (set) Token: 0x06002EAE RID: 11950 RVA: 0x00080C86 File Offset: 0x0007EE86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GachaRandom
		{
			get
			{
				return this.gachaRandom_;
			}
			set
			{
				this.gachaRandom_ = value;
			}
		}

		// Token: 0x06002EAF RID: 11951 RVA: 0x00080C8F File Offset: 0x0007EE8F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EDKKPDOJAFL);
		}

		// Token: 0x06002EB0 RID: 11952 RVA: 0x00080CA0 File Offset: 0x0007EEA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EDKKPDOJAFL other)
		{
			return other != null && (other == this || (object.Equals(this.IFAJDNNCHMN, other.IFAJDNNCHMN) && this.OEIHAMOLDEC == other.OEIHAMOLDEC && this.GachaRandom == other.GachaRandom && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002EB1 RID: 11953 RVA: 0x00080D00 File Offset: 0x0007EF00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.iFAJDNNCHMN_ != null)
			{
				num ^= this.IFAJDNNCHMN.GetHashCode();
			}
			if (this.OEIHAMOLDEC != 0U)
			{
				num ^= this.OEIHAMOLDEC.GetHashCode();
			}
			if (this.GachaRandom != 0U)
			{
				num ^= this.GachaRandom.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002EB2 RID: 11954 RVA: 0x00080D6E File Offset: 0x0007EF6E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002EB3 RID: 11955 RVA: 0x00080D76 File Offset: 0x0007EF76
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002EB4 RID: 11956 RVA: 0x00080D80 File Offset: 0x0007EF80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GachaRandom != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.GachaRandom);
			}
			if (this.OEIHAMOLDEC != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.OEIHAMOLDEC);
			}
			if (this.iFAJDNNCHMN_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.IFAJDNNCHMN);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002EB5 RID: 11957 RVA: 0x00080DF8 File Offset: 0x0007EFF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.iFAJDNNCHMN_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.IFAJDNNCHMN);
			}
			if (this.OEIHAMOLDEC != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OEIHAMOLDEC);
			}
			if (this.GachaRandom != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GachaRandom);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002EB6 RID: 11958 RVA: 0x00080E68 File Offset: 0x0007F068
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EDKKPDOJAFL other)
		{
			if (other == null)
			{
				return;
			}
			if (other.iFAJDNNCHMN_ != null)
			{
				if (this.iFAJDNNCHMN_ == null)
				{
					this.IFAJDNNCHMN = new OJGHBHAIGMG();
				}
				this.IFAJDNNCHMN.MergeFrom(other.IFAJDNNCHMN);
			}
			if (other.OEIHAMOLDEC != 0U)
			{
				this.OEIHAMOLDEC = other.OEIHAMOLDEC;
			}
			if (other.GachaRandom != 0U)
			{
				this.GachaRandom = other.GachaRandom;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002EB7 RID: 11959 RVA: 0x00080EE4 File Offset: 0x0007F0E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002EB8 RID: 11960 RVA: 0x00080EF0 File Offset: 0x0007F0F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 48U)
					{
						if (num != 90U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.iFAJDNNCHMN_ == null)
							{
								this.IFAJDNNCHMN = new OJGHBHAIGMG();
							}
							input.ReadMessage(this.IFAJDNNCHMN);
						}
					}
					else
					{
						this.OEIHAMOLDEC = input.ReadUInt32();
					}
				}
				else
				{
					this.GachaRandom = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001267 RID: 4711
		private static readonly MessageParser<EDKKPDOJAFL> _parser = new MessageParser<EDKKPDOJAFL>(() => new EDKKPDOJAFL());

		// Token: 0x04001268 RID: 4712
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001269 RID: 4713
		public const int IFAJDNNCHMNFieldNumber = 11;

		// Token: 0x0400126A RID: 4714
		private OJGHBHAIGMG iFAJDNNCHMN_;

		// Token: 0x0400126B RID: 4715
		public const int OEIHAMOLDECFieldNumber = 6;

		// Token: 0x0400126C RID: 4716
		private uint oEIHAMOLDEC_;

		// Token: 0x0400126D RID: 4717
		public const int GachaRandomFieldNumber = 3;

		// Token: 0x0400126E RID: 4718
		private uint gachaRandom_;
	}
}
